//package com.march.filter;
//
//import org.springframework.util.StringUtils;
//import org.springframework.web.filter.OncePerRequestFilter;
//
//import javax.servlet.FilterChain;
//import javax.servlet.ServletException;
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//import java.io.IOException;
//
//public class JwtAuthenticationTokenFilter extends OncePerRequestFilter {
//
//    @Override
//    protected void doFilterInternal(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, FilterChain filterChain) throws ServletException, IOException {
//
//        //获取token
//        String token = httpServletRequest.getHeader("token");
//        if(!StringUtils.hasText(token)){
//            //放行
//            filterChain.doFilter(httpServletRequest,httpServletResponse);
//            return;
//        }
//        //对Token进行解析
//    }
//}
